import http from '../axios'

export default {
  register(paramObj) {
    return http('post', '/front/member/register', paramObj);
  },
  loginByPassword(paramObj){
    return http('post', '/front/member/loginByPassword', paramObj);
  },
  loginByCode(paramObj){
    return http('post', '/front/member/loginByCode', paramObj);
  },
  logout(){
    return http('post', '/front/member/logout');
  }
}